package com.gxuwz.stats.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
@TableName("rsp_decision_consulting")
public class DecisionConsulting {
    @TableId(value = "consulting_id", type = IdType.AUTO)
    private Long consultingId;

    @TableField("user_id")
    private Integer userId;

    @TableField(exist = false) // 非数据库字段（用于前端展示）
    private String username;

    @TableField("consulting_result_name")
    private String consultingResultName;

    @TableField("consulting_category")
    private String consultingCategory;

    @TableField("consulting_score")
    private Double consultingScore;

    @TableField("consulting_notes")
    private String consultingNotes;

    // Getter 和 Setter 方法
    public Long getConsultingId() {
        return consultingId;
    }

    public void setConsultingId(Long consultingId) {
        this.consultingId = consultingId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getConsultingResultName() {
        return consultingResultName;
    }

    public void setConsultingResultName(String consultingResultName) {
        this.consultingResultName = consultingResultName;
    }

    public String getConsultingCategory() {
        return consultingCategory;
    }

    public void setConsultingCategory(String consultingCategory) {
        this.consultingCategory = consultingCategory;
    }

    public Double getConsultingScore() {
        return consultingScore;
    }

    public void setConsultingScore(Double consultingScore) {
        this.consultingScore = consultingScore;
    }

    public String getConsultingNotes() {
        return consultingNotes;
    }

    public void setConsultingNotes(String consultingNotes) {
        this.consultingNotes = consultingNotes;
    }
    @Override
    public String toString() {
        return "DecisionConsulting{" +
                "consultingId=" + consultingId +
                ", userId=" + userId +
                ", username='" + username + '\'' +
                ", consultingResultName='" + consultingResultName + '\'' +
                ", consultingCategory='" + consultingCategory + '\'' +
                ", consultingScore=" + consultingScore +
                ", consultingNotes='" + consultingNotes + '\'' +
                '}';
    }
}
